projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ea96b
)
Fix bug recently introduced in 'fit-window-to-buffer' (Bug#37743)
author
Martin Rudalics
<rudalics@gmx.at>
Mon, 14 Oct 2019 08:53:07 +0000
(10:53 +0200)
committer
Martin Rudalics
<rudalics@gmx.at>
Mon, 14 Oct 2019 08:53:07 +0000
(10:53 +0200)
* lisp/window.el (fit-window-to-buffer): Call 'window-combined-p'
with right argument (Bug#37743).
lisp/window.el
patch
|
blob
|
history
diff --git
a/lisp/window.el
b/lisp/window.el
index 80d9d2e072b86418861d41db61d8e63d52f25612..af35f9abe6b5e04e4b236881334c66b596a00450 100644
(file)
--- a/
lisp/window.el
+++ b/
lisp/window.el
@@
-8923,7
+8923,7
@@
accessible position."
;; vertically.
((and (not (eq fit-window-to-buffer-horizontally 'only))
(not (window-size-fixed-p window 'preserved))
- (window-combined-p))
+ (window-combined-p
window
))
(let* ((line-height (window-default-line-height window))
(total-height (window-size window nil pixelwise))
(min-height